# The Flutter tooling requires that developers have CMake 3.10 or later
# installed. You should not increase this version, as doing so will cause
# the plugin to fail to compile for some customers of the plugin.
cmake_minimum_required(VERSION 3.10)

project(sxtwl_flutter_library VERSION 0.0.1 LANGUAGES C)

add_library(sxtwl_flutter SHARED
  "sxtwl_flutter.c"
)

set_target_properties(sxtwl_flutter PROPERTIES
  PUBLIC_HEADER sxtwl_flutter.h
  OUTPUT_NAME "sxtwl_flutter"
)

target_compile_definitions(sxtwl_flutter PUBLIC DART_SHARED_LIB)
